#!/bin/sh
REPS="./lib/libdcheck ./lib/libdcore ./lib/libdhash ./lib/libdwget ./lib/libdpkg ./lib/libdbuild ./tool/dbuild ./tool/dhash ./tool/dpackage ./tool/dwget"
for REP in $REPS; do
	echo ">> $REP <<"
	pushd $REP
	echo "  = configure ="
	cmake .
	echo "  = make ="
	make
	echo "  = make install ="
	su -c "make install"
	popd
done
